package models

import "gorm.io/gorm"

type Read struct {
	gorm.Model
	UserId int    `json:"userId"`
	BookId int    `json:"bookId"`
	Status string `gorm:"type:varchar(20)" json:"status"`
}
type ReadData struct {
	Read
	Title   string
	Name    string
	Contest string
	Img     string
}
